]> dgit.raspbian.org Git - gnome-shell.git/commit
quick-settings: Handle interrupted menu animations
authorDylan McCall <dylan@endlessos.org>
Fri, 9 Sep 2022 18:34:07 +0000 (11:34 -0700)
committerDylan McCall <dylan@dylanmccall.ca>
Thu, 29 Aug 2024 00:25:57 +0000 (17:25 -0700)
commitbabf69f6baeaa1bba30be1d3eaf65ec8cd139355
tree281a3ed3bc350d35ec02aa23019200b08c06a0ca
parentb7e42952dc449b1fd7cb399ab2cd23e33e5c648b
quick-settings: Handle interrupted menu animations

If the menu is closed while it is being opened, we should skip the next
animation in the chain. Similarly, if a menu is opened while it is being
closed, we should continue the animation from the previous state instead
of resetting height to 0.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5843
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2481>
js/ui/quickSettings.js